#!/bin/sh
echo 'supervisord -c /opt/data/supervisor/supervisord.conf'
echo "alias supervisorctl='supervisorctl -c /opt/data/supervisor/supervisord.conf'" > /etc/profile.d/supervisorctl.sh
source /etc/profile
nohup supervisord -c /opt/data/supervisor/supervisord.conf >/dev/null 2>&1 &
/usr/sbin/sshd -D
